Abstract
We study a class of nonhomogeneous elliptic problems with Dirichlet boundary condition and involving the p(x)-Laplace operator and power-type nonlinear terms with variable exponent. The main results of this articles establish sufficient conditions for the existence of nontrivial weak solutions, in relationship with the values of certain real parameters. The proofs combine the Ekeland variational principle, the mountain pass theorem and energy arguments.