Solve the following differential equations given the initial value
dy/dx = tan [x], y[0] = 1
Answers
Answer:
y(x) = - log(cosx) + 1
Step-by-step explanation:
Given:
y =
------------> Equation1 (Because )
Put u = cosx
differentiate both side wrt x
- du = sinx dx
Substitute -du in place of sinx dx and u = cosx in Equation 1
y = - log(u) + C (Because integration of 1/u is log(u))
Now substitute u = cosx
y(x) = - log(cosx) + C ---------------> Equation 2
Given y(0) = 1
Substitute x = 0 in Equation 2
y(0) = -log(cos0) + C
1 = -log(1) + C (Because cos0 = 1)
1 = 0 + C (Because log(1)=0)
C = 1
From equation 1
y(x) = - log(cosx) + C
y(x) = - log(cosx) + 1
HOPE U UNDERSTOOD
THANK YOU :)
Given,
Solution,
Know that,
Integrate with respect to x.
-------(1)
Where c is the constant.
Put initial value to get the value of constant.
Put it in equation 1.
Hence the solution of differential equation is