Find constants and antiderivative problem

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 4K views
Beeorz
Messages
30
Reaction score
0

Homework Statement


Find constants c1 and c2 such that F(x) = c1xsinx+c2cosx is an antiderivative of f(x) = 4xcos(x)+3sin(x)

Homework Equations


d/dx cosx = -sinx
d/dx sinx = cosx

The Attempt at a Solution


Don't know how to setup or handle a problem such as this. Prolly much simplier than I'm making it out to be, but here's my attempt:

(-4(x^2)sinx)/(2) + 3cosx
-2(x^2)sinx + 3cosx

Any advice would help. I know my method is wrong.
 
Physics news on Phys.org


dunno if I understand that correctly...but here's what I think it means to do:

4xcosx-(cosx)(4) ??
 


You want to choose c1 and c2 such that F'(x) is equal to f(x), why not differentiate F(x) set the derivative equal to f(x) and see if you can figure out what the constants should be?
 


F'(x) = c1xsinx+c2cosx

=c1sinx+c1xcosx-c2sinx

c1sinx+c1xcosx-c2sinx=c1xcosx+sinx(c1-c2)
c1-c2 = (4xcosx+3sinx-c1xcosx) / (sinx)

now what? doesn't seem like anything simplifies
 


c1xcosx+sinx(c1-c2) = 4xcos(x)+3sin(x)

Right?

equate coefficients now.

i.e. coefficient of sin(x) in the left side = Coefficient of sin(x) on the right side.