You are not logged in.

- Topics: Active | Unanswered

**ShivamS****Member**- Registered: 2011-02-07
- Posts: 3,610

I agree that there is a lot of maths in computer science, however majority of the programmers nowadays are not very aware of that. They go into programming for a good job and nothing else.

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 89,046

The people who are paying them are the ones that need an education. Is it the boys at Redmond?

**In mathematics, you don't understand things. You just get used to them.**

**Online**

What is the integral of tan x?

'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'

'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'

'You have made another human being happy. There is no greater accomplishment.' -bobbym

Offline

**anonimnystefy****Real Member**- From: The Foundation
- Registered: 2011-05-23
- Posts: 15,607

-ln(cos(x))+C.

Here lies the reader who will never open this book. He is forever dead.

Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment

Offline

or rather ln(sec(x)) + C.

Now, how do you differentiate ln(sec(x)) step by step. I guess there is a substitution method

'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'

'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'

'You have made another human being happy. There is no greater accomplishment.' -bobbym

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 89,046

Use the chain rule.

**In mathematics, you don't understand things. You just get used to them.**

**Online**

Let y = log(sec(x)) and u = sec(x)

Clearly, du/dx = sec(x)tan(x)

and, dy/du = 1/u = 1/sec(x)

Therefore, (du/dx)*(dy/du)= dy/dx = tan(x)

What is chain rule?

Anyhow, how do I integrate tan(x) by hand?

'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'

'You have made another human being happy. There is no greater accomplishment.' -bobbym

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 89,046

That was funny, right?

**In mathematics, you don't understand things. You just get used to them.**

**Online**

Math is Fun. I am not sure if it is funny

'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'

'You have made another human being happy. There is no greater accomplishment.' -bobbym

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 89,046

I mean about the chain rule. You did it!

**In mathematics, you don't understand things. You just get used to them.**

**Online**

Ha ha ha! So, thats called the chain rule!

Achchha, how do I integrate tan(x) by hand?

'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'

'You have made another human being happy. There is no greater accomplishment.' -bobbym

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 89,046

I use a package or a table.

**In mathematics, you don't understand things. You just get used to them.**

**Online**

**zetafunc.****Guest**

Write tan(x) = sin(x)/cos(x).

zetafunc. wrote:

Write tan(x) = sin(x)/cos(x).

Then?

Please continue

'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'

'You have made another human being happy. There is no greater accomplishment.' -bobbym

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 89,046

That is the first step. Set u = cos(x)

**In mathematics, you don't understand things. You just get used to them.**

**Online**

I am lost.

What technique should I use?

'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'

'You have made another human being happy. There is no greater accomplishment.' -bobbym

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 89,046

du = - sin(x) dx

**In mathematics, you don't understand things. You just get used to them.**

**Online**

But why are you doing this?

I wanted an interation of it

'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'

'You have made another human being happy. There is no greater accomplishment.' -bobbym

Offline

**zetafunc.****Guest**

Are you familiar with integration by substitution?

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 89,046

Because you are already done! Look at the numerator and what du equals.

**In mathematics, you don't understand things. You just get used to them.**

**Online**

I think I can do it now.

I will try the next time I wake up

'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'

'You have made another human being happy. There is no greater accomplishment.' -bobbym

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 89,046

See the sin(x) dx? Well you have du = - sin(x) dx and u = cos(x)

You get -du/u, which you can certainly integrate.

**In mathematics, you don't understand things. You just get used to them.**

**Online**

**bob bundy****Moderator**- Registered: 2010-06-20
- Posts: 6,469

hi Agnishom,

This old post popped up today because of a spammer but I have an answer which might be useful for this:

http://www.mathisfunforum.com/viewtopic.php?pid=316853#p316853

Achchha, how do I integrate tan(x) by hand?

If you start with

and differentiate, you get:

So, when integrating, it is always worth being on the lookout for the presence of a function and its derivative. In your question we have both sine and cosine x , so we do have the function (cos) and its derivative (sin)

By inspection I can see I'm going to need a minus sign too, thus:

A similar argument works for this one:

Substitution for f(x) will always work in these cases (can you see why?) but it takes longer.

Bob

ps. Sometimes I can see an integration 'by inspection'. It's an acceptable method provided you 'prove' your 'guess' actually works by differentiation.

*Last edited by bob bundy (2014-05-25 22:26:29)*

Offline

Why is tan(x) = ln(f(x))?

'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'

'You have made another human being happy. There is no greater accomplishment.' -bobbym

Offline

**zetafunc****Member**- Registered: 2014-05-21
- Posts: 148

He is trying to get you to notice that

for a certain f(x).

Offline