(adsbygoogle = window.adsbygoogle || []).push({}); 1. The problem statement, all variables and given/known data

This is really a maths problem I'm having.

I need to get the general solution for the infinite square well in the form:

u = A cos(kx) + B sin(kx)

I found the general solution to be:

u = A exp(ikx) + B exp(-ikx)

Using Euler's formula:

exp(ikx) = cos(kx) + isin (kx)

exp(-ikx) = cos(kx) - isin(kx)

Hence, general solution becomes :

u = A cos(kx) + Bcos(kx)

What am I missing out?

**Physics Forums | Science Articles, Homework Help, Discussion**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Homework Help: General Solution to time independent schrodinger equation

**Physics Forums | Science Articles, Homework Help, Discussion**