# Primitive funktion help

1. Aug 30, 2012

### jakobs

1. The problem statement, all variables and given/known data
I have y'(x)= xcos(x2)
How do I get the primitive function for this?

2. Relevant equations

3. The attempt at a solution
I know that f'(x)=2xcos(x2) is f(x)=sin(x2)
How will removing that 2 in front of xcos affect the primitive function?

2. Aug 30, 2012

### conquest

y(x)=1/2f(x)

3. Aug 30, 2012

### HallsofIvy

Staff Emeritus
A more "formal" way to do this would be to let $u= x^2$ so that $du= 2xdx$ or $(1/2)du= xdx$. Then $\int x sin(x^2)dx$ becomes $(1/2)\int sin(u)du$. Alternatively, write $\int x sin(x^2)dx$ as $(1/2)(2)\int x sin(x^2)dx= (1/2)\int sin(x^2)(2x)dx$

Note that you can only move constants into and out of the integral like that. If that first "x" were not there, you could not do the integral.

Last edited by a moderator: Aug 30, 2012
4. Aug 30, 2012

### jakobs

So, the answer should be f(x)=1/2 sin(x) ?

5. Aug 30, 2012

### jakobs

I'm not completely understand everything you wrote there, and I feel a bit stupid now.

6. Aug 30, 2012

### conquest

@jakobs
well you actually put f(x)=sin(x²). So I meant y(x)= 1/2 sin(x²). Then indeed y'(x)=xcos(x²).

@Halls of Ivy
Agreed this would be the 'follow the recepy' way of doing it, but with a problem this straightforward it really isn't necessary.