What is d/dx(cosx(dy)/dz) where z=sinx?
2 Answers
I think this is correct.
Explanation:
I assume that the problem is not with the product rule, but a question of how to express
Here is one way to approach the question:
The chain rule tells us that
In this question,
d/dz(g(z)) = (d^2y)/dz^2
= (d^2y)/dz^2 * cosx
If our goal is to have only derivative with respect to
Use the chain rule:
So
and
y(x) = Ae^(-sqrt(2)sinx) + Be^(sqrt(2)sinx) + sin^2x
Explanation:
Full Question:
Use
cosx(d^2y)/(dx^2)+sinxdy/dx-2ycos^3x=2cos^5x ..... [A]
into:
(d^2y)/(dz^2)-2y=2(1-z^2) ..... [B]
Solution:
The aim is to eliminate
Let
z=sinx => dz/dx = cosx
By the chain rule:
dy/(dx) = dy/dz * dz/dx
" " = cosx dy/dz ..... [C]
Differentiating again (using the product rule)
(d^2y)/(dx^2) = d/dx cosx dy/dz
" " = (cosx)( (d/dx (dy/dz)) + (d/dx (cos x) )(dy/dz)
" " = cosx( (dz/dx d/dz (dy/dz)) + (-sinx)(dy/dz)
" " = cosx (cosx (d^2y)/(dz^2) ) -sinxdy/dz
" " = cos^2x (d^2y)/(dz^2) -zdy/dz
Now we substitute [C] and [D] into [A], and use
cosx(cos^2x (d^2y)/(dz^2) -zdy/dz)+z(cosx dy/dz)-2ycos^3x=2cos^5x
:. cos^3x (d^2y)/(dz^2) -2ycos^3x=2cos^5x
We can cancel a factor of
:. (d^2y)/(dz^2) -2y=2cos^2x
And using the identity
cos^2x = 1-sin^2x = 1-z^2
And so:
(d^2y)/(dz^2) -2y=2(1-z^2) \ \ \ , which is equation [B] QED
Solving the Modified DE
And, now we must solve the DE
(d^2y)/(dz^2) -2y=2(1-z^2)
This is a second order linear non-Homogeneous Differentiation Equation with constant coefficients. The standard approach is to find a solution,
Complementary Function
The homogeneous equation associated with [B] is
y''-2y = 0
And it's associated Auxiliary equation is:
m^2-2 = 0
Which has two real and distinct solution
Thus the solution of the homogeneous equation is:
y_c = Ae^(-sqrt(2)z) + Be^(+sqrt(2)z)
\ \ \ = Ae^(-sqrt(2)z) + Be^(sqrt(2)z)
Particular Solution
In order to find a particular solution of the non-homogeneous equation we would look for a quadratic form, ie a solution of the form:
y = az^2+bz+c
Where the constants
Differentiating wrt
y' = 2az+b
Differentiating again wrt
y'' = 2a
Substituting into the DE [B] we get:
Equating coefficients of
z^0: 2a-2c=2
z^1: -2b=0
z^2: -2a=-2
Solving simultaneously, we have:
a = 1
b = 0
c = 0
And so we form the Particular solution:
y_p = z^2
Which then leads to the GS of [B}
y(z) = y_c + y_p
\ \ \ \ \ \ \ = Ae^(-sqrt(2)z) + Be^(sqrt(2)z) + z^2
Wrapping It Up
Now that we have a solution to the DE [B]
y(z) = Ae^(-sqrt(2)z) + Be^(sqrt(2)z) + z^2
We can restore the earlier substitution
y(x) = Ae^(-sqrt(2)sinx) + Be^(sqrt(2)sinx) + sin^2x
Which is the General Solution